SPOOL $HOME/crst_fm/MISC/log/test_result.txt

DEFINE NGO_CODE = '&1'
DEFINE BG_CODE= '&2'
DEFINE NGO_SOB_SHORT_CODE= '&3'

@$HOME/crst_fm/AR/recon/CAPARREC_SYSTEM_OPTION.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_AUTO_ACCOUNTING.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_TRANSACTION_TYPE &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_TRANSACTION_SOURCE &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_RECEIVABLE_ACTIVITY.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_PAYMENT_METHOD.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_RECEIPT_SOURCE &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_MEMO_LINE.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_APPROVAL_LIMIT.sql &NGO_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_REMIT_TO_ADDRESS.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_DISTRIBUTION_SET.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_DISTRIBUTION_SET_LINE.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_PARTY.sql &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_ACCOUNT.sql &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_PROFILE.sql &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_PARTY_SITE.sql &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_ACCT_SITE.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_LOCATION.sql &NGO_SOB_SHORT_CODE
--@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_LOC_ASSIGNMENT.sql
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_SITE_USE.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_ACCOUNT_ROLE.sql &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_CONTACT.sql &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_CONTACT_POINT.sql &BG_CODE
--@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_RECEIPT_METHOD.sql
@$HOME/crst_fm/AR/recon/CAPARREC_SALESPERSON.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_OM_SYSTEM_PARAM.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_INVOICE_BATCH &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_INVOICE.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_INVOICE_LINE.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_INVOICE_LINE_DIST.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_INVOICE_LINE_SALE.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_INVOICE_ADJUST.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_RECEIPT_BATCH.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_RECEIPT.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_RECEIPT_APPLICATION.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_RECEIPT_MISC_DIST.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_RECEIPT_HISTORY.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_RECEIPT_DIST.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_LOCATION_ASSIGNMENT.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_PARTY_SITE_USE &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_RELATIONSHIP.sql &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_CUSTOMER_PAYMENT_METHOD.sql &BG_CODE
@$HOME/crst_fm/AR/recon/CAPARREC_PAYMENT_SCHEDULE.sql &NGO_SOB_SHORT_CODE

SPOOL OFF

QUIT